-- GENERATED SPELL FOR [Westfall Brigade Hunter] --


function spell0_27462(pUnit, Event) --@Aimed Shot,n/a--
pUnit:FullCastSpellOnTarget(38861,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27462', 3000, 1)
end

function Sorts_27462(pUnit, Event)
local choix_sorts_27462 = math.random(0, 0)
if choix_sorts_27462 == 0 then
pUnit:RegisterEvent('spell0_27462', 1, 1)
end
end

function mob27462_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27462', math.random(1500, 3000), 1)
end

function mob27462_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27462_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27462_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27462, 1, 'mob27462_Action')
RegisterUnitEvent(27462, 2, 'mob27462_Leave')
RegisterUnitEvent(27462, 3, 'mob27462_Kill')
RegisterUnitEvent(27462, 4, 'mob27462_Die')
